<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}{% endblock %}</title>
    {% block head %}{% endblock %}
</head>
<body>
<header>
    头部
</header>

{% block content %}{% endblock %}

<footer>
    尾部
</footer>
</body>
</html>